﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="CapNhatThongTin.aspx.cs" Inherits="_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">

        .ChuaTextBox { width: 480px;
        }
        .TextBoxDiaChi { width: 280px; height: 80px;

        }
        .auto-style9 {
        text-align: right;
        font-size: 14pt;
        width: 188px;
    }
    .auto-style10 {
        height: 7px;
        width: 188px;
    }
    .auto-style11 {
        width: 188px;
    }
    .auto-style12 {
        text-align: right;
        font-size: 14pt;
        width: 188px;
        height: 26px;
    }
    .auto-style13 {
        height: 26px;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table class="style24" style="background-color: #DED6E0; width: 101%;" __designer:mapid="26b">
    <tr __designer:mapid="26c">
        <td class="ChieuCaoQuangCao" colspan="2" style="color: #FFFF00; font-weight: 700;" __designer:mapid="26d">CẬP NHẬT THÔNG TIN CÁ NHÂN</td>
    </tr>
    <tr __designer:mapid="26c">
        <td class="Menucon" colspan="2" style="color: #FF0000" __designer:mapid="26d">&nbsp;</td>
    </tr>
    <tr __designer:mapid="26e">
        <td class="auto-style9" __designer:mapid="26f">Tên đăng nhập:</td>
        <td class="ChuaTextBox" __designer:mapid="270">
            <asp:TextBox ID="txtTenDN" runat="server"  CssClass="TextBox" ReadOnly="True"></asp:TextBox>
        </td>
    </tr>
    <tr __designer:mapid="272">
        <td class="auto-style10" __designer:mapid="273"></td>
        <td class="KhoangCachDong" __designer:mapid="274">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtTenDN" ErrorMessage="Tên đăng nhập không được để trống" ForeColor="Red"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr __designer:mapid="276">
        <td class="auto-style9" __designer:mapid="277">Mật khẩu:</td>
        <td class="ChuaTextBox" __designer:mapid="278">
            <asp:TextBox ID="txtMatKhau1" runat="server" CssClass="TextBox" OnLoad="txtMatKhau1_Load" OnTextChanged="txtMatKhau1_TextChanged"></asp:TextBox>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtMatKhau1" ErrorMessage="Mật khẩu dài ít nhất 6 ký tự" ForeColor="Red" ValidationExpression=".{6,32}"></asp:RegularExpressionValidator>
        </td>
    </tr>
    <tr __designer:mapid="27b">
        <td class="auto-style10" __designer:mapid="27c"></td>
        <td class="KhoangCachDong" __designer:mapid="27d">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtMatKhau1" ErrorMessage="Mật khẩu không được để trống" ForeColor="Red"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr __designer:mapid="27f">
        <td class="auto-style9" __designer:mapid="280">Xác nhận mật khẩu:</td>
        <td class="ChuaTextBox" __designer:mapid="281" >
            <asp:TextBox ID="txtMatKhau2" runat="server" CssClass="TextBox"></asp:TextBox>
            <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtMatKhau1" ControlToValidate="txtMatKhau2" ErrorMessage="Mật khẩu không khớp" ForeColor="Red"></asp:CompareValidator>
        </td>
    </tr>
    <tr __designer:mapid="284">
        <td class="auto-style11" __designer:mapid="285"></td>
        <td class="auto-style15" __designer:mapid="286">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtMatKhau2" ErrorMessage="Nhập mật khẩu lần 2" ForeColor="Red"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr __designer:mapid="288">
        <td class="auto-style9" __designer:mapid="289">Email: </td>
        <td class="ChuaTextBox" __designer:mapid="28a">
            <asp:TextBox ID="txtEmail" runat="server" CssClass="TextBox" OnTextChanged="txtEmail_TextChanged"></asp:TextBox>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail" ErrorMessage="Email không hợp lệ" ForeColor="Red" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
        </td>
    </tr>
    <tr __designer:mapid="28d">
        <td class="auto-style10" __designer:mapid="28e">
            <asp:Label ID="lbmau" runat="server" Text="Label"></asp:Label>
        </td>
        <td class="KhoangCachDong" __designer:mapid="28f">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtEmail" ErrorMessage="Email không được để trống" ForeColor="Red"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr __designer:mapid="291">
        <td class="auto-style9" __designer:mapid="292">Họ tên:&nbsp;&nbsp;&nbsp; </td>
        <td class="ChuaTextBox" __designer:mapid="293">
            <asp:TextBox ID="txtHoTen" runat="server"  CssClass="TextBox" OnLoad="txtHoTen_Load" OnTextChanged="txtHoTen_TextChanged"></asp:TextBox>
        </td>
    </tr>
    <tr __designer:mapid="295">
        <td class="auto-style11" __designer:mapid="296"></td>
        <td class="KhoangCachDong" __designer:mapid="297">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtHoTen" ErrorMessage="Họ tên không được để trống" ForeColor="Red"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr __designer:mapid="299">
        <td class="auto-style9" __designer:mapid="29a">Số điện thoại:&nbsp;&nbsp;&nbsp; </td>
        <td class="ChuaTextBox" __designer:mapid="29b">
            <asp:TextBox ID="txtSDT" runat="server"  CssClass="TextBox" OnTextChanged="txtSDT_TextChanged"></asp:TextBox>
        </td>
    </tr>
    <tr __designer:mapid="29d">
        <td class="auto-style10" __designer:mapid="29e"></td>
        <td class="KhoangCachDong" __designer:mapid="29f">
            <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="txtSDT" ErrorMessage="Số điện thoại từ 10 đến 11 số" ForeColor="Red" ValidationExpression=".{10,11}"></asp:RegularExpressionValidator>
        </td>
    </tr>
    <tr __designer:mapid="2a1">
        <td class="auto-style9" __designer:mapid="2a2">Địa chỉ:</td>
        <td class="auto-style14" __designer:mapid="2a3">
            <asp:TextBox ID="txtDiaChi" runat="server" Height="74px" TextMode="MultiLine"  CssClass="TextBoxDiaChi" OnTextChanged="txtDiaChi_TextChanged"></asp:TextBox>
            <br __designer:mapid="2a5" /></td>
    </tr>
    <tr __designer:mapid="2a6">
        <td class="auto-style10" __designer:mapid="2a7">&nbsp;</td>
        <td class="KhoangCachDong" __designer:mapid="2a8">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txtDiaChi" ErrorMessage="Địa chỉ không được để trống" ForeColor="Red"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr __designer:mapid="2aa">
        <td class="auto-style12" __designer:mapid="2ab">
            <asp:Label ID="lbQuyenTruyCap" runat="server" Text="Quyền truy cập: " Visible="False"></asp:Label>
        </td>
        <td class="auto-style13" __designer:mapid="2ad">
            <asp:DropDownList ID="ddlquyen" runat="server" Height="24px" Width="151px">
            </asp:DropDownList>
        </td>
    </tr>
    <tr __designer:mapid="2af">
        <td class="auto-style10" __designer:mapid="2b0">&nbsp;</td>
        <td class="KhoangCachDong" __designer:mapid="2b1">&nbsp;</td>
    </tr>
    <tr __designer:mapid="2b2">
        <td class="auto-style11" __designer:mapid="2b3">&nbsp;</td>
        <td class="auto-style17" __designer:mapid="2b4">&nbsp;
            <asp:Button ID="btnCapNhat" runat="server" BackColor="Teal" ForeColor="Yellow" OnClick="btnCapNhat_Click" style="font-weight: 700; font-size: 14pt" Text="CẬP NHẬT" Width="145px" />
&nbsp;&nbsp;
            <asp:Button ID="btnHuy" runat="server" BackColor="Teal" Font-Size="14pt" ForeColor="Yellow" Text="HỦY" width="145px" OnClick="btnHuy_Click" />
        </td>
    </tr>
    <tr __designer:mapid="2b6">
        <td colspan="2" style="text-align: center" __designer:mapid="2b7">&nbsp;&nbsp; </td>
    </tr>
</table>
</asp:Content>

